count the total number of rows in a datagridview